package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区表对象 sys_community
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public class SysCommunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 小区名 */
    @Excel(name = "小区名")
    private String communityName;

    /** 管理员 */
    @Excel(name = "管理员")
    private String adminName;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String adminTel;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private Integer buildingId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setAdminName(String adminName) 
    {
        this.adminName = adminName;
    }

    public String getAdminName() 
    {
        return adminName;
    }
    public void setAdminTel(String adminTel) 
    {
        this.adminTel = adminTel;
    }

    public String getAdminTel() 
    {
        return adminTel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBuildingId(Integer buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Integer getBuildingId() 
    {
        return buildingId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityName", getCommunityName())
            .append("adminName", getAdminName())
            .append("adminTel", getAdminTel())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("buildingId", getBuildingId())
            .toString();
    }
}
